package topcbl.taxi;

import topcbl.net.Bind2Service;
import topcbl.net.TaxiService;
import topcbl.util.ServiceUtils;
import android.app.Application;
import android.app.Service;
import android.content.Intent;
import android.util.Log;

public class TaxiApplication extends Application {

	@Override
	public void onCreate() {
		super.onCreate();
		// create service by start and bind simultaneously
		Intent serviceIntent = new Intent(this, TaxiService.class);
		startService(serviceIntent);
		MainActivity.mBindService = new Bind2Service(this);
		MainActivity.mBindService.bind();
	}

}
